package com.wits.platform.dao.custom;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.wits.platform.dto.MenuDTO;
import com.wits.platform.entity.Menu;
import com.wits.platform.web.mvc.PageParam;

public interface MenuDaoCustom {

	int findChildrenCountByPIds(String ids);
	
	int deleteInBatch(String ids);
	
	Page<Menu> findMenuPageByRole(Map<String, Object> searchParams,PageParam page, String roleId);
	

	List<MenuDTO> findMenuForRole(String roleId);
	
	public List<MenuDTO> findMenuForRole();
	

	List<Menu> findMenuByUserId(String userId);
}
